<div id="stockFrozenThaw">
    <!--页面调整-->
    <el-row v-loading="showLoading"
            element-loading-text="拼命加载中">
        <el-col :span="24">
            <div class="inner btn-nav">
                <el-input
                        @change="selectReturn"
                        class="input"
                        v-model="djCreateUserName"
                        icon="search"
                        placeholder="操作员"></el-input>
                <el-date-picker
                        v-model="date"
                        type="daterange"
                        align="right"
                        placeholder="解冻时间"
                        class="input"
                        :picker-options="pickerOptions">
                </el-date-picker>
                <el-date-picker
                        v-model="date1"
                        type="daterange"
                        align="right"
                        placeholder="冻结时间"
                        class="input"
                        :picker-options="pickerOptions">
                </el-date-picker>
                <button @click="dialogSelectVisible=!dialogSelectVisible" class="btn btn-search"><i
                        class="icon search"></i><span>详细查询</span>
                </button>
                <button @click="newInput" class="btn btn-add"><i
                        class="icon add"></i><span>新增</span>
                </button>
                <button @click="multiSelectClick" class="btn btn-multiSelect"><i
                        class="icon sel"></i><span>多选</span>
                </button>
                <button @click="moreOperationDelete" class="btn btn-del" v-show="multiSelect"><i
                        class="icon del"></i><span>批量删除</span>
                </button>
            </div>
            <el-table
                    :data="stockFrozenThaw"
                    :max-height="config_table_height()"
                    ref="table"
                    @expand="expandChange"
                    class="stockFrozenThawTable"
                    style="width: 100%">
                <el-table-column
                        type="expand">
                    <template scope="props">
                        <el-row>
                            <h3 style="margin-top: 0; margin-left: -15px;">库存冻结详细</h3>
                        </el-row>
                        <el-carousel
                                arrow="hover"
                                height="240px"
                                indicator-position="none"
                                :autoplay="false">
                            <el-carousel-item>
                                <el-form label-position="left" inline class="demo-table-expand">
                                    <el-row>
                                        <el-col :span="10">
                                            <el-form-item label="创建时间">
                                                <span>{{ auto_time_new(props.row.djCreateTime,6) }}</span>
                                            </el-form-item>
                                            <el-form-item label="解冻日期">
                                                <span>{{ auto_time_new(props.row.djJdTime,6) }}</span>
                                            </el-form-item>
                                            <el-form-item label="冻结日期">
                                                <span>{{auto_time_new(props.row.djDjTime,6)}}</span>
                                            </el-form-item>

                                        </el-col>
                                        <el-col :span="10" :offset="2">

                                            <el-form-item label="状态">
                                                <el-tag-s :val="auto_el_tag('djStatus',props.row.djStatus)"></el-tag-s>
                                                <!--<span>{{ auto_djStatus(props.row.djStatus) }}</span>-->
                                            </el-form-item>
                                            <el-form-item label="备注">
                                                <span>{{ props.row.djReason }}</span>
                                            </el-form-item>
                                            <el-form-item
                                                    label="可用操作">
                                                <el-button
                                                        size="small"
                                                        icon="edit"
                                                        @click="inlineEdit(props.$index, props.row)">
                                                </el-button>
                                                <el-button
                                                        size="success"
                                                        @click="inlineDelete(props.$index, props.row)">删除
                                                </el-button>

                                                <el-button
                                                        size="small"
                                                        @click="freezingThawing(props.$index, props.row)">冻结解冻
                                                </el-button>
                                            </el-form-item>
                                        </el-col>
                                    </el-row>
                                </el-form>
                            </el-carousel-item>
                            <el-carousel-item>
                                <el-table
                                        :data="props.row.inputOperation"
                                        :max-height="240">
                                    <el-table-column
                                            type="expand">
                                        <template scope="props">
                                            <h3>入库明细</h3>
                                            <el-table
                                                    :data="props.row.rkDocsList"
                                                    highlight-current-row
                                                    style="width: 100%">
                                                <el-table-column
                                                        label="货品编号"
                                                        width="140"
                                                        show-overflow-tooltip
                                                        align="center"
                                                        prop="baseGoods.bgGoodsNo">
                                                </el-table-column>
                                                <el-table-column
                                                        align="center"
                                                        prop="baseGoods.bgGoodsName"
                                                        show-overflow-tooltip
                                                        label="货品名称">
                                                </el-table-column>
                                                <el-table-column
                                                        label="单位"
                                                        width="80"
                                                        prop="baseDw.bdName"
                                                        align="center">
                                                </el-table-column>
                                                <el-table-column
                                                        label="数量"
                                                        width="100"
                                                        show-overflow-tooltip
                                                        prop="rksCount"
                                                        align="center">
                                                </el-table-column>
                                            </el-table>
                                        </template>
                                    </el-table-column>
                                    <el-table-column
                                            label="入库单号"
                                            width="170"
                                            show-overflow-tooltip
                                            align="center"
                                            prop="rkRkdjNo">
                                    </el-table-column>
                                    <el-table-column
                                            width="150"
                                            align="center"
                                            prop="rkCreatetime"
                                            label="下单时间">
                                        <template scope="scope">
                                            <el-icon name="time"></el-icon>
                                            <span style="margin-left: 10px">{{ auto_rkCreatetime(scope.row.rkCreatetime) }}</span>
                                        </template>
                                    </el-table-column>
                                    <el-table-column
                                            label="类型"
                                            prop="rkType"
                                            align="center"
                                            width="100">
                                    </el-table-column>
                                    <el-table-column
                                            label="状态"
                                            prop="rkStatus"
                                            align="center"
                                            width="100">
                                    </el-table-column>
                                    <el-table-column
                                            label="总数量"
                                            align="center"
                                            show-overflow-tooltip
                                            prop="allCount">
                                    </el-table-column>
                                    <el-table-column
                                            label="总体积"
                                            align="center"
                                            show-overflow-tooltip
                                            prop="allTj">
                                    </el-table-column>
                                    <el-table-column
                                            label="备注"
                                            show-overflow-tooltip
                                            prop="rkRemarks">
                                    </el-table-column>
                                </el-table>
                            </el-carousel-item>
                        </el-carousel>
                    </template>
                </el-table-column>
                <el-table-column
                        label="创建时间"
                        show-overflow-tooltip
                        align="center">
                    <template scope="scope">
                        {{auto_djCreateTime(scope.row.djCreateTime,true)}}
                    </template>
                </el-table-column>
                <el-table-column
                        label="解冻时间"
                        show-overflow-tooltip
                        align="center">
                    <template scope="scope">
                        {{auto_time_new(scope.row.djJdTime,true)}}
                    </template>
                </el-table-column>
                <el-table-column
                        label="冻结时间"
                        show-overflow-tooltip
                        align="center">
                    <template scope="scope">
                        {{auto_time_new(scope.row.djDjTime,true)}}
                    </template>
                </el-table-column>
                <el-table-column
                        label="操作员"
                        show-overflow-tooltip
                        align="center"
                        prop="djCreateUserName">
                </el-table-column>
                <el-table-column
                        label="冻结原因"
                        show-overflow-tooltip
                        align="center"
                        prop="djReason">
                </el-table-column>
                <el-table-column
                        label="冻结状态"
                        show-overflow-tooltip
                        align="center">
                    <template scope="scope">
                        <el-tag-s :val="auto_el_tag('djStatus',scope.row.djStatus)"></el-tag-s>
                        <!--<el-tag-->
                                <!--close-transition>{{auto_djStatus(scope.row.djStatus)}}-->
                        <!--</el-tag>-->
                    </template>
                </el-table-column>
                <el-table-column
                        v-if="multiSelect"
                        type="selection"
                        width="60">
                </el-table-column>
            </el-table>
            <div class="block">
                <el-pagination
                        @size-change="handleSizeChange"
                        @current-change="handleCurrentChange"
                        :current-page="1"
                        :page-sizes="[5, 10, 15, 20, 100, 500, 1000, 5000, 10000]"
                        :page-size="pageSize"
                        layout="total, sizes, prev, pager, next, jumper"
                        :total="currentTotal">
                </el-pagination>
            </div>
        </el-col>
    </el-row>
    <el-dialog
            size="tiny"
            class="select"
            v-model="dialogSelectVisible">
        <div class="dialog-title clearfix" slot="title">
            <span class="el-dialog__title">详细查询</span>
        </div>
        <el-form :model="form">
            <el-form-item label="创建时间"
                          :label-width="formLabelWidth">
                <el-date-picker
                        v-model="form.djCreateTime"
                        type="daterange"
                        align="right"
                        placeholder="创建时间"
                        class="input"
                        :picker-options="pickerOptions">
                </el-date-picker>
            </el-form-item>
            <el-form-item label="解冻时间"
                          :label-width="formLabelWidth">
                <el-date-picker
                        v-model="form.djJdTime"
                        type="daterange"
                        align="right"
                        placeholder="解冻时间"
                        class="input"
                        :picker-options="pickerOptions">
                </el-date-picker>
            </el-form-item>
            <el-form-item label="冻结时间"
                          :label-width="formLabelWidth">
                <el-date-picker
                        v-model="form.djDjTime"
                        type="daterange"
                        align="right"
                        placeholder="冻结时间"
                        class="input"
                        :picker-options="pickerOptions">
                </el-date-picker>
            </el-form-item>
            <el-form-item label="操作员"
                          :label-width="formLabelWidth">
                <el-input
                        class="input"
                        v-model="form.djCreateUserName"
                        icon="search"
                        placeholder="操作员"></el-input>
            </el-form-item>
            <el-form-item label="冻结状态"
                          :label-width="formLabelWidth">
                <el-select v-model="form.djStatus" placeholder="请选择">
                    <el-option :value="-1" label="全部"></el-option>
                    <el-option :value="0" label="冻结"></el-option>
                    <el-option :value="1" label="解冻"></el-option>
                </el-select>
            </el-form-item>
        </el-form>
        <div slot="footer" class="dialog-footer">
            <el-button type="primary" @click="form = _form()">重置</el-button>
            <el-button type="primary" @click="selectSubmit" :loading="selectLoading">查询</el-button>
        </div>
    </el-dialog>
</div>
<style>
    #stockFrozenThaw {
        width: 100%;
        min-width: 890px;
        position: relative;
    }

    #stockFrozenThaw .demo-table-expand {
        font-size: 0;
    }

    #stockFrozenThaw .demo-table-expand label {
        width: 90px;
        color: #99a9bf;
    }

    #stockFrozenThaw .demo-table-expand .el-form-item {
        margin-right: 0;
        margin-bottom: 0;
        width: 80%;
    }

    #stockFrozenThaw .el-table__expand-column .el-table__expand-icon {
        height: 39px;
    }

    #stockFrozenThaw .table {
        transition: 1s all;
    }

    #stockFrozenThaw .el-carousel__container {
        height: 440px;
    }

    .el-tooltip__popper {
        max-width: 400px;
    }

    .el-step__main {
        max-width: calc(100% - 60px);
    }

    #stockFrozenThaw .stockFrozenThawTable {
        width: 95% !important;
        margin: 20px auto;
    }

    #stockFrozenThaw .datePicker {
        width: 140px !important;
        height: 24px !important;
        margin-top: 29px;
        margin-right: 18px;
        float: left;
    }

    #stockFrozenThaw .datePicker .el-input__inner {
        border-radius: 2px !important;
        height: 24px !important;
    }

    #stockFrozenThaw .add {
        background: url("/static/images/add.png") no-repeat center;
    }

    #stockFrozenThaw .del {
        background: url("/static/images/del.png") no-repeat center;
    }

    #stockFrozenThaw .search {
        background: url("/static/images/search.png") no-repeat center;
    }

    #stockFrozenThaw .sel {
        background: url("/static/images/sel.png") no-repeat center;
    }

    #stockFrozenThaw .icon {
        float: left;
    }

    #stockFrozenThaw .btn span {
        float: left;
        margin-top: 4px;
        margin-left: 2px;
    }

    #stockFrozenThaw .btn {
        height: 24px;
        line-height: 1;
        border: none;
        background: #f8fafb;
        outline: none;
        cursor: pointer;
        padding: 0;
        margin: 0;
        float: left;
        font-size: 14px;
        color: #1f2d3d;
        margin-top: 29px;
        margin-right: 16px;
    }

    #stockFrozenThaw .btn-print {
        margin-right: 0;
    }

    #stockFrozenThaw .btn:hover {
        color: #5468ee;
    }

    #stockFrozenThaw .inner {
        margin: 0 20px;
    }

    #stockFrozenThaw .btn-nav {
        height: 60px;
        overflow: hidden;
    }

    #stockFrozenThaw .btn-nav .el-input .el-input__inner {
        height: 24px;
    }

    #stockFrozenThaw .btn-nav .el-input {
        float: left;
        margin-top: 29px;
        margin-right: 18px;
        width: 140px;
        height: 24px;
    }
</style>
<style>
    .steps {
        position: absolute;
        bottom: 10px;
        left: 30px;
        margin: auto;
    }

    .el-dialog__headerbtn {
        position: absolute;
        right: 25px;
        top: 15px;
    }

    .el-step__main {
        margin-left: -8px !important;
    }
</style>
<script>
    var stockFrozenThaw = new Vue({
        el: '#stockFrozenThaw',
        prop: {},
        data: function () {
            return {
                stockFrozenThaw: [],
                multipleSelection: [],
                multiSelect: false,
                pickerOptions: _pickerOptions(),
                showLoading: false,
                currentPage: 1,
                pageSize: 10,
                currentTotal: 0,
                date: [null, null],                //主页面 解冻时间 搜索
                date1: [null, null],                 //主页面 冻结时间  搜索
                djCreateUserName: '',                //主页面 操作员 搜索
                formLabelWidth: '120px',            //表单 配置
                form: _form(),                           //表单 弹出层 信息集合
                dialogFormActive: 0,                //新建 弹出层 steps 当前进度
                dialogFormVisible: false,           //新建 弹出层 是否可见
                submitLoading: false,               //新建 弹出层 提交等待
                select: _form(),                         //搜索 弹出层 信息集合,
                dialogSelectVisible: false,
                selectLoading: false
            }
        },
        computed: {
            // TODO 表格提交
            option: function () {
                return {
                    "draw": 1,
                    "pageNum": this.currentPage,
                    "pageSize": this.pageSize,
                    "djCreateUserName": this.djCreateUserName,
                    "startJdTimeParam": tsf_date(this.date[0]),
                    "endJdTimeParam": tsf_date(this.date[1]),
                    "startDjTimeParam": tsf_date(this.date1[0]),
                    "endDjTimeParam": tsf_date(this.date1[1]),
                }
            },
            search: function () {
                return {
                    "draw": 1,
                    "pageNum": this.currentPage,
                    "pageSize": this.pageSize,
                    "rkrwN": this.form.rkrwN,
                    "rkrwCph": this.form.rkrwCph,
                    "dds": this.form.dds,
                    "pxs": this.form.pxs,
                    "rkrwSjxm": this.form.rkrwSjxm,
                    "rkrwDhrq": this.form.rkrwDhrq,
                    "rkrwDbd": this.form.rkrwDbd,
                    "rkrwCys": this.form.rkrwCys,
                    "rkrwDh": this.form.rkrwDh,
                    "rkrwStatus": this.form.rkrwStatus
                }
            },
            form_pop: function () {
                return {
                    "draw": 1,
                    "pageNum": this.currentPage,
                    "pageSize": this.pageSize,
                    "startCreateTimeParam": tsf_date(this.form.djCreateTime[0]),
                    "endCreateTimeParam": tsf_date(this.form.djCreateTime[1]),
                    "startJdTimeParam": tsf_date(this.form.djJdTime[0]),
                    "endJdTimeParam": tsf_date(this.form.djJdTime[1]),
                    "startDjTimeParam": tsf_date(this.form.djDjTime[0]),
                    "endDjTimeParam": tsf_date(this.form.djDjTime[1]),
                    "djCreateUserName": this.form.djCreateUserName,
                    "djStatus": this.form.djStatus,
                }
            },
            distributionForm: function () {
                return {
                    distribution: this.distribution
                }
            },                                      //分配 表单
        },
        methods: {
            newInput: function () {
                this.form = form();
                this.dialogFormVisible = true;
                this.dialogFormActive = 0;
                Vue.nextTick(function () {
                    aLibraryTransfer.$refs.carousel.setActiveItem(0);
                });
            },
            inlineEdit: function (index, row) {
                this.form.title = '编辑';
                this.form.djCreateTime = row.djCreateTime;
                this.form.djJdTime = row.djJdTime;
                this.form.djDjTime = row.djDjTime;
                this.form.djCreateUserId = row.djCreateUserId;
                this.form.djStatus = row.djStatus;
                this.form.djReason = row.djReason;
                this.dialogFormVisible = true;
                this.dialogFormActive = 0;
                Vue.nextTick(function () {
                    stockFrozenThaw.$refs.carousel.setActiveItem(0);
                });
            },                                  //TODO 行内按钮-编辑
            inlineDelete: function () {
                var _this = this;
                _this.$confirm('此操作删除解冻冻结单, 是否继续?', '提示', {
                    confirmButtonText: '确定',
                    cancelButtonText: '取消',
                    type: 'warning'
                }).then(function () {
                    remove(row, _this.stockFrozenThaw);
                    postDelete(_this, {
                        id: [row.rkdjNo]
                    });
                }).catch(function () {
                    _this.$message({
                        type: 'info',
                        message: '已取消删除'
                    });
                });
            },                                             //TODO 行内按钮--删除
            inlineIssued: function (index, row) {
                var _this = this;
                _this.$confirm('此操作下发入库任务单, 是否继续?', '提示', {
                    confirmButtonText: '确定',
                    cancelButtonText: '取消',
                    type: 'warning'
                }).then(function () {
                    remove(row, _this.stockFrozenThaw);
                    postDelete(_this, {
                        id: [row.rkdjNo]
                    });
                }).catch(function () {
                    _this.$message({
                        type: 'info',
                        message: '已取消下发'
                    });
                });
            },                                //TODO 行内按钮  下发
            multiSelectClick: function () {
                this.multiSelect = !this.multiSelect;
            },                                      //多选 状态维护
            multiSelectionChange: function (val) {
                /*<debug>*/
                console.log(this.multipleSelection);
                /*</debug>*/
                this.multipleSelection = val;
            },                               //多选 选中控制
            moreOperationDelete: function () {
                /*<debug>*/
                console.log('选中的删除');
                /*</debug>*/
                for (i = 0; i < this.multipleSelectionCombination.length; i++) {
                    remove(this.multipleSelectionCombination[i], this.warehousingReservationCombination);
                }
            },                                   //多选 删除
            handleSizeChange: function (val) {
                /*<debug>*/
                console.log('每页' + val + '条');
                /*</debug>*/
                this.pageSize = val;
                p[0].post((_option ? this.form_pop : this.option));
            },                                   //分页 Size
            expandChange: function (row, expanded) {
                if (typeof (row.inputOperation) === 'undefined' && expanded) {
                    postInputOperation(this, row);
                }
                /*<debug>*/
                console.log(row);
                console.log(expanded);
                /*</debug>*/
            },                             //下拉 选择
            handleCurrentChange: function (val) {
                /*<debug>*/
                console.log('当前第' + val + '页');
                /*</debug>*/
                this.currentPage = val;
                p[0].post((_option ? this.form_pop : this.option));
            },                                //分页 当前页
            newInput: function () {
                this.dialogFormVisible = true;

            },                                              //按钮 新建入库单
            prev: function () {
                this.dialogFormActive--;
                this.$refs.carousel.prev();
            },                                                  //新建 弹出层banner控制 前一个
            next: function () {
                this.dialogFormActive++;
                this.$refs.carousel.next();
            },                                                  //新建 弹出层banner控制 后一个
            submit: function () {
                var _this = this;
                this.dialogFormActive++;
                this.submitLoading = true;
                //TODO 此处应是ajax请求
                setTimeout(function () {
                    _this.submitLoading = false;
                    _this.$notify({
                        title: '成功',
                        message: '保存成功！',
                        type: 'success'
                    });
                    _this.dialogFormVisible = false;
                    _this.form = {
                        rkRkdjNo: '',
                        rkType: '',
                        rkRemarks: '',
                        rkDocsList: [],
                        bgGoodsNo: '',
                        selectGood: {
                            value: '',
                            bgGoodsName: '',
                            count: 0,
                            bgGoodsId: ''
                        },
                        saveARkDocsList: true,
                        deleteARkDocsList: true
                    };
                    _this.dialogFormActive = 0;
                    _this.$refs.carousel.setActiveItem(0);
                    p[0].post();
                }, 1500);
            },                                                //新建 表单提交
            selectSubmit: function () {
                _option = true;
                p[0].post(obj.form_pop);
                this.dialogSelectVisible = false;
            },                                          //详细查询 提交
            auto_djCreateTime: function (value, bool) {
                if (!bool) return dateFormat(new Date(parseInt(value)), 'yyyy年 MM月 dd日');
                else return dateFormat(new Date(parseInt(value)), 'yyyy-MM-dd');
            },                          //创建时间
            auto_djJdTime: function (value, bool) {
                if (!bool) return dateFormat(new Date(parseInt(value)), 'yyyy年 MM月 dd日');
                else return dateFormat(new Date(parseInt(value)), 'yyyy-MM-dd');
            },                          //解冻时间
            auto_djDjTime: function (value, bool) {
                if (!bool) return dateFormat(new Date(parseInt(value)), 'yyyy年 MM月 dd日');
                else return dateFormat(new Date(parseInt(value)), 'yyyy-MM-dd');
            },                          //冻结时间
            auto_djStatus: function (value) {
                if (!isNaN(value)) {
                    temp = {
                        0: '冻结',
                        1: '解冻',
                        2: '作废',
                    }
                } else {
                    temp = {
                        '冻结': 0,
                        '解冻': 1,
                        '作废': 2,
                    }
                }
                return temp[value];
            },                             //冻结状态,

        },
        watch: {
            djCreateUserName: function () {
                /*<debug>*/
                console.log((_option ? this.form_pop : this.option));
                /*</debug>*/
                p[0].post((_option ? this.form_pop : this.option));
            }
        }
    });
    // 高级 监视器的 使用方法
    stockFrozenThaw.$watch('date', function () {
        /*<debug>*/
        console.log((_option ? this.form_pop : this.option));
        /*</debug>*/
        p[0].post((_option ? this.form_pop : this.option));
    }, {deep: true});
    stockFrozenThaw.$watch('date1', function () {
        /*<debug>*/
        console.log((_option ? this.form_pop : this.option));
        /*</debug>*/
        p[0].post((_option ? this.form_pop : this.option));
    }, {deep: true});
    function _form() {
        return {
            djId: '',
            title: "新建库存解冻",
            djCreateTime: '',//创建时间
            djJdTime: '',       //解冻时间
            djDjTime: '',      //冻结时间
            djCreateUserName: '',//操作员
            djStatus: '',       //状态
            djReason: '',       //备注,
            djCreateTime: [null, null],//模糊查询--创建时间
            djJdTime: [null, null],//模糊查询--解冻时间
            djDjTime: [null, null],//模糊查询--冻结时间
            djCreateUserName: '',//模糊插叙--操作员
            djStatus: '',//模糊查询--库存冻结状态


        }
    }
    var obj = stockFrozenThaw;
    var p = [];
    // 0 库存冻结/解冻 分页获取库存冻结单据
    p[0] = autoPost({
        urlHock: "../../hock/stockFrozenThaw/page.json",
        urlProd: "/route/stockFrozenThaw/0",
        success: function (json) {
            obj.$data.stockFrozenThaw = json.data;
            obj.$data.currentTotal = json.recordsFiltered;
        }
    });
    // 1 库存冻结/解冻 分页获取库存冻结单据(包含明细)
    p[1] = autoPost({
        urlHock: "",
        urlProd: "/route/stockFrozenThaw/1",
        success: function (json) {
        }
    });
    // 2 库存冻结/解冻 新增库存冻结单据/包含库存冻结单明细
    p[2] = autoPost({
        urlHock: "",
        urlProd: "/route/stockFrozenThaw/2",
        success: function (json) {
        }
    });
    // 3 库存冻结/解冻 更新库存冻结数据
    p[3] = autoPost({
        urlHock: "",
        urlProd: "/route/stockFrozenThaw/3",
        success: function (json) {
        }
    });
    // 4 库存冻结/解冻 通过库存冻结/解冻单据 冻结/解冻一条或多条库存单
    p[4] = autoPost({
        urlHock: "",
        urlProd: "/route/stockFrozenThaw/4",
        success: function (json) {
        }
    });
    // 5 库存冻结/解冻 通过库存冻结单据id删除库存冻结单据
    p[5] = autoPost({
        urlHock: "",
        urlProd: "/route/stockFrozenThaw/5",
        success: function (json) {
        }
    });
    // 6 库存冻结/解冻 通通过库存冻结单据id获取一条库存冻结单据
    p[6] = autoPost({
        urlHock: "",
        urlProd: "/route/stockFrozenThaw/6",
        success: function (json) {
        }
    });

    p[0].post(stockFrozenThaw.option);
    function printfCompile(obj) {
        var resoleveStep = [];
        for (var i = 0; i < obj.multipleSelection.length; i++) {
            resoleveStep.push({
                name: obj.multipleSelection[i].rkrwNo,
                rkrwNo: obj.multipleSelection[i].rkrwNo,
                rkrwDhrq: obj.multipleSelection[i].rkrwDhrq
            });
        }
        obj.printf = resoleveStep;
    }				 //打印

</script>
